package com.bawei.mall.product.service.impl;

import com.bawei.mall.product.mapper.CategoriesMapper;
import com.bawei.mall.product.service.ICategoriesService;
import com.bawei.mall.product.domain.Po.Categories;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author：liurui
 * @Package：com.bawei.mall.search.service.impl
 * @Project：mall_cloud
 * @name：CategoriesServiceImpl
 */
@Service
public class CategoriesServiceImpl implements ICategoriesService {
    @Autowired
    private CategoriesMapper mapper;

    @Override
    public List<Categories> productCateList(Integer parentId) {
        return mapper.productCateList(parentId);
    }
}
